export function fixedThead(showLeft) {
  let fixedDom = document.querySelector('.fixedThead');
  let LeftVal = showLeft ? 222 : 98;
  let scrollLeft = 
  window.pageXOffset ||
  document.documentElement.scrollLeft ||
  document.body.scrollLeft;

  if(scrollLeft){
    fixedDom.style.left = LeftVal - scrollLeft + 'px'; //跟随横向滚动条滚动
  }else{
    fixedDom.style.left = LeftVal + 'px'; //跟随横向滚动条滚动
  }
}